package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.ProductType;
import com.cloudfun.campusshare.common.constant.PromotionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Created by Huqin on 2020/6/9
 */
@Data
@ApiModel("优惠活动详情VO")
public abstract class PromotionDetailVO {

    @ApiModelProperty("主键uuid")
    private String id;

    @ApiModelProperty("活动编号")
    private String promotionNo;

    @ApiModelProperty("洗衣点id")
    private String washPointId;

    @ApiModelProperty("洗衣点名称")
    private String washPointName;

    @ApiModelProperty("优惠类型")
    private PromotionType type;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("活动开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("活动结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("产品类型")
    private List<ProductType> productTypeList;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("创建人id")
    private String creatorId;

    @ApiModelProperty("创建人用户名")
    private String creatorName;

}
